#ifndef MYPROGRESSDIALOG_H
#define MYPROGRESSDIALOG_H

#include <QtGui/QDialog>

namespace Ui {
    class myProgressDialog;
}

class myProgressDialog : public QDialog {
    Q_OBJECT
public:
    myProgressDialog(QWidget *parent = 0, Qt::WindowFlags f = 0);
    ~myProgressDialog();

    void setValue( int value );
    void reset();
    int maximum();

signals:
    void cancelCalled();

private:
    Ui::myProgressDialog *m_ui;

private slots:
    void on_cancelButton_clicked();
};

#endif // MYPROGRESSDIALOG_H
